package org.kyw.auth.service;

import org.kyw.auth.domain.Role;
import org.kyw.auth.query.RoleQuery;
import org.kyw.basic.service.IBaseService;
import org.kyw.basic.util.PageList;

public interface IRoleService extends IBaseService<Role> {

    /**
     * 给当前角色授权
     * @param roleId
     * @param permissionIds
     */
    void addPermission(Long roleId, Long[] permissionIds);
}
